package com.shengqin.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.shengqin.entity.CalculateLog;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface CalculateErrorLogMapper extends BaseMapper<CalculateLog> {

    @Select("select *  from t_calculate_log where req_param like concat('%',#{studyCode},'%') and req_param like concat('%',#{prjName},'%') and plan_id = #{planId}")
    List<CalculateLog> selectByPlanIdAndLog(@Param("studyCode") String studyCode, @Param("prjName") String prjName, @Param("planId") Integer planId);

}
